package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_job_intention")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class JobIntentionModel {
    @TableId(type = IdType.AUTO)
    public int id;
    public int post;//职位
    @TableField(exist = false)
    public String postName;//职位名称
    public String regProvince;//省
    public String regCity;//市
    public String  regArea;//区县
    @TableField(exist = false)
    public String regProvinceText;//省
    @TableField(exist = false)
    public String regCityText;//市
    @TableField(exist = false)
    public String  regAreaText;//区县
    public Integer salaryMin;//最低薪资
    public Integer salaryMax;//最高薪资
    public Timestamp crtTime;//创建时间
    public Timestamp upTime;//修改时间

    public Integer customerId;//关联用户ID
    @TableField(exist = false)
    public CustomerModel customer;
    public int recruitType;//1全职2兼职

    @TableField(exist = false)
    private Integer count;
    @TableField(exist = false)
    private String jobTitle;
    @TableField(exist = false)
    private Integer sumAll;

}
